<!doctype html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>{% block meta_title %}Snapcraft - Snaps are universal Linux packages{% endblock %}</title>

    <!-- Preconnect to establish early connections to important third-party origins -->
    <link rel="preconnect" href="https://www.google-analytics.com">
    <link rel="preconnect" href="https://assets.ubuntu.com">
    <link rel="preconnect" href="https://munchkin.marketo.net">

    <!-- Google Tag Manager -->
    <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
    new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
    j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
    'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
    })(window,document,'script','dataLayer','GTM-K92JCQ');</script>
    <!-- End Google Tag Manager -->

    <link rel="stylesheet" href="{{ static_url('css/styles.css') }}" />

    {% block scripts_modules %}{% endblock %}
    <script src="{{ static_url('js/modules/raven.min.js') }}" defer></script>
    <script>
      window.addEventListener("DOMContentLoaded", function() {
        Raven.config('{{ SENTRY_DSN }}', {
          whitelistUrls: ['staging.snapcraft.io/static/js', 'snapcraft.io/static/js/'],
          ignoreUrls: ['staging.snapcraft.io/static/js/modules', 'snapcraft.io/static/js/modules'],
          release: '{{ COMMIT_ID }}',
          environment: '{{ ENVIRONMENT }}'
        }).install();
      });
    </script>

    <script src="{{ static_url('js/dist/base.js') }}" defer></script>
    {% block scripts_includes %}{% endblock %}
    <script src="https://assets.ubuntu.com/v1/703e23c9-lazysizes+noscript+native-loading.5.1.2.min.js" defer></script>

    <meta name="description" content="{% block meta_description %}Snaps are containerised software packages that are simple to create and install. They auto-update and are safe to run. And because they bundle their dependencies, they work on all major Linux systems without modification.{% endblock %}">
    <meta name="copydoc" content="{% block meta_copydoc %}https://drive.google.com/drive/folders/1q9ia7iDuWQlCaJ7nfKVeQ5G-FPyJbP-H{% endblock %}">
    <meta name="google-site-verification" content="Y1JayrP2iS6jS6Rd7uGX3Kzgm0oD8rV5R6TkzteLbQg" />

    {% block meta %}
      <meta property="og:title" content="{{ self.meta_title() }}"/>
      <meta property="og:site_name" content="Snapcraft"/>
      <meta property="og:type" content="{% block meta_type %}website{% endblock %}"/>
      <meta property="og:description" content="{{ self.meta_description() }}"/>
      <meta property="og:image" content="{% block meta_image %}https://assets.ubuntu.com/v1/e635d1ef-snapcraft_green-red_hex.png{% endblock %}" />
      <meta property="og:url" content="https://snapcraft.io{% block meta_path %}{{ path }}{% endblock %}" />
      <meta property="twitter:card" content="summary_large_image" />
      <meta property="twitter:site" content="@snapcraftio" />
      <meta property="twitter:creator" content="@snapcraftio" />
      <meta property="twitter:url" content="https://snapcraft.io{{ self.meta_path() }}" />
    {% endblock %}

    {% block extra_meta %}{% endblock %}

    <link rel="icon" type="image/png" href="https://assets.ubuntu.com/v1/fdc99abe-ico_16px.png" sizes="16x16" />
    <link rel="icon" type="image/png" href="https://assets.ubuntu.com/v1/0f3c662c-ico_32px.png" sizes="32x32" />
    <link rel="author" href="/humans.txt" />
  </head>

  <body class="has-sticky-footer">
    <!-- Google Tag Manager (noscript) -->
    <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-K92JCQ"
      height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
    <!-- End Google Tag Manager (noscript) -->

    {% block header %}
    <!-- JS that is needed right away -->
    <script src="{{ static_url('js/dist/global-nav.js') }}"></script>

    {% include "_header.html" %}
    {% endblock %}

    {% block content %}{% endblock %}

    {% include "_footer.html" %}

    {% block scripts %}{% endblock %}

    <script type="application/ld+json">
      {
        "@context": "http://schema.org/",
        "@id": "https://snapcraft.io/#organization",
        "@type": "Organization",
        "name": "Snapcraft",
        "logo": "https://assets.ubuntu.com/v1/e635d1ef-snapcraft_green-red_hex.png",
        "url": "https://snapcraft.io",
        "sameAs": [
          "https://developer.ubuntu.com/snapcraft",
          "https://github.com/snapcore/snapcraft",
          "https://en.wikipedia.org/wiki/Snappy_(package_manager)",
          "https://twitter.com/snapcraftio",
          "https://www.facebook.com/snapcraftio/",
          "https://www.youtube.com/snapcraftio"
        ]
      }
    </script>

    <script type="application/ld+json">
      {
        "@context": "http://schema.org",
        "@id": "https://snapcraft.io/#website",
        "@type": "WebPage",
        "name": "Snapcraft",
        "url": "https://snapcraft.io{{ self.meta_path() }}"
      }
    </script>

    {% block meta_schema %}{% endblock %}
  </body>
</html>
